package com.trdcore.zyzkt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.trdcore.zyzkt.model.vod.VideoVisitor;
import com.trdcore.zyzkt.vo.vod.VideoVisitorCountVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 视频来访者记录表 Mapper 接口
 * </p>
 *
 * @author Luffy
 * @since 2024-03-18
 */
@Repository
public interface VideoVisitorMapper extends BaseMapper<VideoVisitor> {

    List<VideoVisitorCountVo> findCount(@Param("courseId") Long courseId,@Param("startDate") String startDate,@Param("endDate") String endDate);
}
